context-sensitive grammar

Terms from Artificial Intelligence: humans at the heart of algorithms

A context-sensitive grammar has rules where the expansion of a non-terminal may depend on the tokens before or after.

Used in Chap. 13: pages 192, 195, 196, 198, 202

Also known as context sensitivity, context-sensitive